Index
- Symbols
- += (concatenation) operator, 736
- #import directive, 501
- attributes, 502-504
- syntax, 502
- + (plus sign), 990
- 0 parameter value (ShutDown method), 861
- 1-bit images, 197
- 1 parameter value (ShutDown method), 861
- 2 parameter value (ShutDown method), 861
- 2D graphics. See also GUIs (graphical user interfaces)
- Bézier curves, 183-184
- bitmaps
- BBTs (bit block transfers), 201-202
- BITMAP1 sample application, 206-210
- CBitmap class, 199-201
- color depth, 197-198
- DDBs (device-dependent bitmaps), 198-199
- DIBs (device-independent bitmaps), 199
- resources, 203-205
- classes
- CBitmap class, 199-201
- CClientDC class, 155-156
- CDC class, 153
- CGdiObject class, 158-159
- CPaintCD class, 154
- CWindowDC class, 156-157
- color depth, 197
- DirectDraw, 1080
- bitmaps, loading, 1103-1107
- blits (bitmap block transfers), 1093-1096
- clippers, 1100-1102
- error handling, 1112-1114
- initializing, 1083-1089
- page flipping, 1097-1100
- palettes, 1089-1093, 1107-1111
- shutdown, 1114-1116
- surfaces, 1093-1097
- windowed rendering, 1111-1112
- drawing tools, 158-159
- ellipses, 180-182
- image lists, 107-108
- creating, 109-110
- methods, 108-109
- lines
- CDC class, 170-174
- drawing, 170-172
- objects, 148
- declaring, 159
- Windows drawing tools relationship, 158-159
- polygons, 179-180
- polylines, 172-174
- raster images, 196-197
- rectangles
- CDC class, 176-177
- CRect class, 174-176
- drawing, 176-177
- rounded, 176-177
- regions, 177-179
- Boolean operations, 179
- clipping regions, 177
- creating, 177-178
- CRgn class, 163-164
- vector images, 167
- 3D graphics, 1024-1025. See also GUIs (graphical user interfaces)
- coordinate axes, 1029
- coordinate space, 1028
- coplanar polygons, 1030
- dialogs, 254
- Direct3D, 1080
- matrices, 1030
- OpenGL, 1032-1033
- applications, 1042
- blending, 1073
- datatypes, 1033-1034
- development history, 1024-1025
- display lists, 1060-1064
- DLLs (dynamic link libraries), 1054-1055
- downloading, 1025
- fog effects, 1074-1075
- function naming conventions, 1034-1036
- light, 1064-1068
- material properties, 1068-1069
- matrix stack, 1037-1038
- models, 1055-1057
- render function scoping, 1036-1037
- rendering, 1038-1041, 1053-1054
- rotation, 1058-1059
- scaling, 1059-1060
- texture mapping, 1069-1072
- translation, 1030, 1058
- views, 1043-1053
- polyons
- coplanar, 1030
- decals, 1026
- wireframe, 1026
- terminology, 1025-1028
- vectors
- cross-product calculations, 1031-1032
- defined, 1029
- normalizing, 1030-1031
- resultant, 1029
- unit, 1029
- vertices, 1029
- 4-bit images, 197
- 16-bit images, 197
- 24-bit images, 197
- 200 status code value (HTTP), 915
- 332 palette, 1090-1091
- 400 status code value (HTTP), 915
- 404 status code value (HTTP), 915
- 405 status code value (HTTP), 915
- 500 status code value (HTTP), 915
- 503 status code value (HTTP), 915
- A
- Abort method, 694-695, 900
- aborting. See stopping
- About You page (WIZARD1.EXE application)
- CPage1 class, 1212-1214
- methods
- DoDataExchange, 1214
- OnWizardNext, 1214-1216
- SAMPLEWIZDATA structure, 1216-1217
- template, 1207
- Accept method, 858-859
- accessDenied value (CFileException::m_cause), 801
- accessing
- ambient properties, 532
- automation servers, 471-472
- type libraries, 433
- accessors
- CAccessor class, 695
- CAccessorBase class, 695
- CDynamicAccessor class
- GetColumnCount method, 696
- GetColumnName method, 696
- GetColumnType method, 696-697
- GetLength method, 696
- GetParam method, 699-700
- GetParamCount method, 699
- GetParamName method, 699
- GetParamType method, 699
- GetStatus method, 698
- GetValue method, 697-698
- SetParam method, 699-700
- SetStatus method, 698-699
- SetValue method, 697-698
- CManualAccessor class
- AddBindEntry method, 700-701
- AddParameterEntry method, 700-701
- CreateAccessor method, 700
- CreateParameterAccessor method, 700
- ACS_AUTOPLAY style (animation control), 133
- ACS_CENTER style (animation control), 133
- ACS_TRANSPARENT style (animation control), 133
- ActivateMe method, 569
- activation security, 404
- active document containers, 562-563
- creating, 570-571
- defined, 562
- document extensions
- IContinueCallback interface, 569
- IOleCommandTarget interface, 569
- IOleDocumentSite interface, 568
- in-place activation
- IOleInPlaceFrame interface, 568
- IOleInPlaceSite interface, 567-568
- site objects
- IAdviseSink interface, 567
- IOleClientSite interface, 566
- storage
- IPersistStorage interface, 565-566
- IStorage interface, 563-564
- IStream interface, 565
- active document servers
- CDocObjectServerItem class, 458-459
- COleDocIPFrameWnd class, 459-462
- OLE servers comparison, 451-452
- persistence, 462-463
- registration, 462
- views, editing, 463-465
- active documents
- CDocObjectServer class, 434
- CDocObjectServerItem class, 435
- COleDocObjectItem class, 435
- defined, 434
- Active Template Library. See ATL
- ActiveConnection property
- ADOCommand class, 724
- ADORecordset class, 721
- ActiveX controls. See controls
- ActiveX Data Objects. See ADO
- ActiveX scripting, 626-627
- binding
- early, 634
- late, 634-635
- events, 649-651
- interfaces, 627-628
- dispinterfaces (dispatch interfaces), 635
- dual, 634
- IActiveScript, 628, 633
- IActiveScriptParse, 628, 633
- IActiveScriptSite, 628-632
- IActiveScriptSiteWindow, 628-632
- properties, 636-637
- licensing, 629
- object implementation
- ATL (Active Template Library) object creation, 641-644
- initialization, 646-649
- scriptable object requirements, 644-645
- object models
- defined, 637
- designing, 638
- example, 639-641
- script management, 651
- ActualSize property (ADOField class), 724
- Add Event dialog, 545
- Add method, 108
- AddBar method, 318
- AddBindEntry method, 700-701
- AddDocTemplate method, 31, 279
- AddDocument method, 279
- AddHead method, 747
- AddNew method, 674, 720
- AddPage method, 328, 340, 1200
- AddParameterEntry method, 700-701
- AddRef method, 382, 648
- AddRequestHeaders method, 913
- addresses
- IP (Internet Protocol) address control, 65
- module load addresses, 1195-1197
- TAPI (Telephony API), 1002
- translation, 990-991
- AddTail method, 747
- AddToRecentFileList method, 32
- AddView method, 45-46
- AdjustRect method, 127
- ADO (ActiveX Data Objects), 686
- ADOCommand class
- collections, 724
- methods, 722-723
- properties, 721-724
- ADOConnection class
- collections, 717
- methods, 714-716
- properties, 715-717
- ADOError class, 726-727
- ADOField class, 724-725
- ADOParameter class, 726
- ADOProperty class, 725
- ADORecordset class, 718
- collections, 721
- method, 718-720
- properties, 719-721
- CADORecordingBinding class, 708
- data binding, 708-709
- datatypes, 722-723
- initializing, 709-712
- interfaces, 708-712
- OLE DB comparison, 687
- records
- adding, 713
- deleting, 714
- editing, 713
- searching, 712
- source file code example, 714
- ADOCommand class
- collections
- Parameters, 722
- Properties, 724
- properties
- ActiveConnection, 724
- CommandText, 721
- CommandTimeout, 722
- CommandType, 721
- Prepared, 724
- methods
- CreateParameter, 722-723
- Execute, 722
- ADOConnection class, 714
- collections, 717
- methods
- BeginTrans, 716
- Close, 714-715
- CommitTrans, 716
- Execute, 716-717
- Open, 714-715
- RollbackTrans, 716
- properties
- CommandTimeout, 717
- ConnectionString, 715
- ConnectionTimeout, 715
- DefaultDatabase, 715
- IsolationLevel, 716
- Mode, 715
- Provider, 715
- ADOError class, 726-727
- ADOField class, 724-725
- ADOParameter class, 726
- ADOProperty class, 725
- ADORecordset class
- collections, 721
- methods
- AddNew, 720
- Close, 718
- Delete, 720
- MoveFirst, 719-720
- MoveLast, 719-720
- MoveNext, 719-720
- MovePrevious, 719-720
- Open, 718-719
- Update, 720
- properties
- ActiveConnection, 721
- BOF, 719
- CacheSize, 720
- EOF, 719
- Source, 719
- Advanced Options dialog, 455
- affordance, 214
- AFX (Application Frameworks), 8
- AFX DLLs (dynamic link libraries)
- advantages, 1180
- code elimination, 1180-1181
- creating, 1181-1182
- extensibility, 1181
- modularity, 1181
- designing, 1192-1193
- exports, 1182
- by name, 1183
- by ordinal, 1183
- classes, 1185
- data members, 1187
- destructors, 1189-1190
- explicit functions, 1186-1187
- guidelines, 1191-1192
- identifiers, 1182
- include files, 1190-1191
- MFC-generated data, 1187-1189
- name mangling, 1183-1185
- preprocessor directives, 1185-1186
- loading/unloading
- AfxFreeLibrary function, 1192
- AfxLoadLibrary function, 1192
- load addresses, 1195-1197
- multiple module definition files, 1194-1195
- resource location, 1193-1194
- AfxBeginThread function, 25-26
- AfxComparePath function, 765
- AfxConnectionAdvise function, 414-416
- AfxConnectionUnadvise function, 416-417
- AfxEnableControlContainer function, 414
- AFXEndThread function, 25
- AfxFindResourceHandle function, 1193-1194
- AfxFreeLibrary function, 1192
- AfxFullPath function, 765
- AfxGetApp function, 29, 242
- AfxGetAppName function, 29
- AfxGetFileName function, 980
- AfxGetFileTitle function, 765
- AfxGetInstanceHandle function, 29
- AfxGetMainWnd function, 35
- AfxGetResourceHandle function, 29
- AfxGetRoot function, 765
- AfxInitRichEdit function, 257
- AfxLoadLibrary function, 1192
- AfxLoadString function, 1193
- AfxOleCanExitApp function, 410
- AfxOleGetMessageFilter function, 411
- AfxOleGetUserCtrl function, 411-412
- AfxOleInit function, 257, 418-419
- AfxOleInitModule function, 419
- AfxOleLockApp function, 412
- AfxOleLockControl function, 414
- AfxOleRegisterControlClass function, 417
- AfxOleRegisterPropertyPage-Class function, 417
- AfxOleRegisterServerClass function, 413
- AfxOleRegisterTypeLib function, 417
- AfxOleSetEditMenu function, 413-414
- AfxOleSetUserCtrl function, 412
- AfxOleTypeMatchGuid function, 420
- AfxOleUnlockApp function, 413
- AfxOleUnlockControl function, 414
- AfxOleUnregisterClass function, 417
- AfxOleUnregisterTypeLib function, 418
- AfxParseURL function, 911-912
- AfxParseURLEx function, 913
- AfxPostQuitMessage function, 26
- AfxRegisterClass function, 35
- AfxRegisterWndClass function, 35
- AfxResolveShortCut function, 765
- AfxSetResourceHandle function, 29
- AfxSocketInit function, 855
- AfxThrowArchiveException function, 800
- AfxThrowDaoException function, 807
- AfxThrowDbException function, 805
- AfxThrowFileException function, 801-802
- AfxThrowInternetException function, 808
- AfxThrowMemoryException function, 799
- AfxThrowNotSupportedException function, 799
- AfxThrowOleDispatchException function, 418, 805
- AfxThrowOleException function, 418, 803
- AfxThrowResourceException function, 802
- AfxThrowUserException function, 806
- AfxVerifyLicFile function, 420
- AfxWinMain function, 11
- AFX_EXTENSION_MODULE structure, 1182
- AFX_IDW_DOCKBAR_BOTTOM constant (DockControlBar method), 319
- AFX_IDW_DOCKBAR_LEFT constant (DockControlBar method), 319
- AFX_IDW_DOCKBAR_RIGHT constant (DockControlBar method), 319
- AFX_IDW_DOCKBAR_TOP constant (DockControlBar method), 319
- aggregation, 386
- All collection (DTML), 840
- allocating
- BSTRs, 595-596
- OpenGL display lists, 1064
- strings, 734-736
- AllocBuffer method, 734
- ambient light, 1027, 1066-1067
- ambient properties, 531-532
- accessing, 532
- dynamic state, 532-533
- anchors, retrieving, 846-848
- animation
- animation control, 64, 131-132
- creating, 134
- implementing, 135
- methods, 134
- notification messages, 133
- window styles, 133
- double buffering, 1025
- tearing, 1097
- APIs. See names of specific APIs
- Appearance property, 531
- Append method, 683
- AppendMenu method, 311-312
- Application Frameworks (AFX), 8
- application object (text editor), 639-640
- application-specific initialization
- 3D dialog support, 254
- automation support, 253-254, 257
- command-line handling, 257-259
- container support, 254
- dialog applications, 250-251
- document template classes, 255-256
- main frame window creation, 256
- MDI (multiple document interface) applications, 251-252
- Registry usage, 254
- rich edit control support, 257
- SDI (single document interface) applications, 251
- applications. See also databases; names of specific applications
- creating, 50-53
- CWinApp class, 29
- accessing, 242-243
- application lifetime, 243
- application-specific initialization, 250-257
- command-line parsing, 33
- data members, 245-249
- document support, 31-32
- methods, 249
- registry support, 30-31
- dialog-based applications, 52 See also controls
- CSockDlg example, 869-882
- DDX (Dialog Data Exchange), 72-74, 424-425
- idle processing, 268-270
- initialization, 66-67, 250-251
- MSIE (Internet Explorer) control, 827-828
- standard dialog boxes, 74-77
- graphical user interfaces, see GUIs
- idle processing
- dialog-based applications, 268-270
- OnIdle method, 266-268
- install/uninstall programs, 1177
- MDI (Multiple Document Interface) applications, 52, 277, 295-296
- data management, 298-299
- document templates, 296-298
- initialization, 251-252
- SDI (Single Document Interface) applications, 52, 277. See also MFCServer application
- CSingleDocTemplate class, 278-279
- initialization, 251
- views, changing, 291-295
- splash screens, 270-271
- views
- class view, 55-56
- file view, 54-55
- resource view, 56-57
- AppWizard, 309-310
- automation, 476-477
- dialog boxes
- Advanced Options, 455
- MFC AppWizardStep 1, 51
- MFC AppWizardStep 2 of 4, 52
- MFC AppWizardStep 3 of 4, 53
- MFC AppWizardStep 4 of 4, 53
- document servers, 450-452
- active document servers, 451-452, 462
- container-servers, 452
- creating, 452
- full servers, 451
- mini-servers, 452
- registration, 455
- starting, 50
- Support MFC option, 522
- architecture, document/view, 276-277
- CWinApp class methods
- AddDocTemplate, 31
- AddToRecentFileList, 32
- EnableShellOpen, 32
- GetFirstDocTemplatePosition, 31
- GetNextDocTemplate, 31
- LoadStdProfileSettings, 32
- OpenDocumentFile, 32
- RegisterShellFileTypes, 32
- UnregisterShellFileTypes, 32
- documents
- creating, 280-282
- opening new files, 282-284
- single versus multiple, 284-285
- templates, 278-280
- MDI (Multiple Document Interface) applications, 52, 277, 295-296
- data management, 298-299
- document templates, 296-298
- initialization, 251-252
- SDI (Single Document Interface) applications, 52, 277. See also MFCServer application
- CSingleDocTemplate class, 278-279
- initialization, 251
- views, changing, 291-295
- servers, 453-454
- views
- adding, 292
- CDaoRecordView class, 287
- CEditView class, 288
- CFormView class, 287
- changing, 291-295
- CListView class, 288
- CRecordView class, 287
- CRichEditView class, 288
- CScrollView class, 286
- CTreeView class, 287
- CView class, 285
- frame classes, 292-293
- UNL_Single sample application, 288-291
- arrays
- collections
- CByteArray class, 742-744
- memory allocation, 744-746
- SAFEARRAYs, 405-406
- AssertValid method, 14
- Assisted Telephony
- functions
- TapiGetLocationInfo, 989
- TapiRequestMakeCall, 989, 1000-1001
- phone dialer application, 999-1001
- asynchronous monikers, 442
- AsyncSelect method, 863-864
- ATL (Active Template Library), 590. See also MFCServer application
- ambient properties, 532
- CComBSTR class, 594-597
- CComVariant class, 603-604
- consumer classes, 687
- controls
- adding events, 555-556
- adding methods, 554
- adding properties, 554
- creating, 553-559
- defining interfaces, 557
- developing, 521-522
- MFC comparison, 523-528
- MFC compatibility, 522-523
- templates, 522, 557-558
- conversion macros, 597-599
- events, 534-535
- Object Wizard, 606-610
- objects, creating, 641-644
- smart pointer templates, 591-593
- atlbase.h file, 593
- CComPtr class, 592
- CComQIPtr class, 592-593
- ATL COM AppWizard, 523
- ATL Object Wizard
- controls, creating, 554
- dialog boxes, 687-689
- OLE DB consumers, 687-690
- property pages, 536
- Select Database Table dialog, 689
- Attach method, 37, 108
- Attributes property
- ADOField class, 725
- ADOProperty class, 725
- audio files. See sound files
- AUTMGR32 (Automation Manager), 516-517
- automation, 388-391, 435, 491
- CCmdTarget class
- EnableAutomation method, 23-24
- FromIDispatch method, 24
- GetIDispatch method, 24
- IsResultExpected method, 24
- OnFinalRelease method, 24
- controllers, 393, 466, 491, 496
- COleDispatchDriver class, 492-493, 496-498
- creating, 492
- early binding, 388
- features, 465
- interfaces
- adding, 480-481
- dispinterfaces, 392, 490
- IDispatch, 391-392, 466-471, 486
- IDL (Interface Definition Language), 466, 487-489
- ITypeInfo, 389
- ITypeLib, 389
- ODL (Object Definition Language), 466, 489-490
- late binding, 389
- New Class dialog, 480
- objects, 393
- remote, 512-513
- Automation Manager, 516-517
- Remote Automation Connection Manager, 514-516
- server registration, 513
- support for, 253-254, 257
- Variant datatype, 473-476
- Automation Manager, 516-517
- automation servers, 393, 466
- Autoserv application
- executing, 509-512
- interface definition, 498-499
- method implementation, 499-501
- TLH file, 504-507
- TLI file, 508-509
- connecting to
- CreateDispatch method, 493
- DISPIDs (dispatch IDs), 495
- method invocation, 495
- pointers, 494-495
- DLLs (dynamic link libararies), 476
- executable, 476
- IDispatch interfaces, 471-472
- #import directive, 501-504
- methods, 478-483
- placeholders, 477-478
- properties, 478-483
- Autoserv application
- executing, 509-512
- interface definition, 498-499
- method implementation, 499-501
- TLH file
- footer boilerplate, 508
- forward references/typedefs, 505
- header boilerplate, 504-505
- implementation, 508
- smart pointer declarations, 505-506
- Typeinfo declarations, 506-507
- TLI file, 508-509
- AuxUserType subkey (COM objects), 540
- B
- back buffers, 1094
- BackColor property, 531
- background erasure (OpenGL), 1051
- badClass value (CArchiveException::m_cause), 800
- badIndex value (CArchiveException::m_cause), 800
- badPath value (CFileException::m_cause), 801
- badSchema value (CArchiveException::m_cause), 800
- badSeek value (CFileException::m_cause), 801
- /Base directive, 1196
- Basic Telephony Services
- address translation, 990-991
- addresses, 1002
- calls
- dropping, 991, 1018
- handles, 993
- placing, 991, 1012-1016
- states, 991-992
- configuring
- CreateIoCompletionPort method, 1005
- LINEDEVCAPS structure, 1009-1011
- lineGetDevCaps method, 1007-1009
- lineInitialize method, 1003-1004
- lineInitializeEx method, 1004-1005
- lineNegotiateAPIVersion method, 1005-1007
- lineOpen method, 1011-1012
- connecting with
- callback procedure, 1015-1016
- lineMakeCall method, 1012-1013
- lineTranslateAddress method, 1014
- data transmission
- lineGetID method, 1016-1017
- modem handles, 1017-1018
- disconnecting, 1018
- lines, 1002-1005
- terminating sessions, 1018-1019
- BBTs (bit block transfers)
- BitBlt method, 201-202
- StretchBlt method, 202
- BeforeNavigate2 event, 823
- begin actions (transactions), 659
- BeginDrag method, 108
- BeginModalState method, 43
- BeginTrans method, 668, 679, 716
- BeginWaitCursor method, 22
- BEGIN_CONNECTION_MAP macro, 431
- BEGIN_CONNECTION_PART macro, 430
- BEGIN_DISPATCH_MAP macro, 426
- BEGIN_EVENTSINK_MAP macro, 429
- BEGIN_EVENT_MAP macro, 428
- BEGIN_MESSAGE_MAP macro, 22, 264
- BEGIN_OLEFACTORY macro, 421
- BEGIN_PARSE_MAP macro, 942
- BEGIN_PROPPAGEIDS macro, 433
- Bézier curves, 183-184
- binding
- early, 388, 634
- late, 389, 634-635
- bit block transfers. See BBTs
- BitBlt method, 201-202
- bitmap methods (CDC class), 152
- BITMAP structure, 198-199
- BITMAP1 application (bitmap resources), 206-207
- CMainWnd class, 207
- methods
- BlitBitmap, 208-209
- PositionRects, 208
- PtInRect, 210
- bitmaps, 148, 197
- BBTs (bit block transfers)
- BitBlt method, 201-202
- StretchBlt method, 202
- BITMAP1 sample application, 206-207
- CMainWnd class, 207
- methods, 208-210
- CBitmap class, 163, 199-201
- color depth, 197-198
- copying into DirectDraw surfaces, 1106-1107
- DDBs (device-dependent bitmaps)
- BITMAP structure, 198-199
- discardable, 198
- nondiscardable, 198
- DIBs (device-independent bitmaps), 199, 1070-1071
- loading into DirectDraw surfaces, 1103-1105
- resources
- adding to executable files, 203-204
- retrieving from executable files, 204-205
- BLACKNESS raster operation, 196
- blending, 1073
- blind-reving (blind revisioning), 1192
- BlitBitmap method, 208
- blits (bitmap block transfers)
- Blt method, 1095-1096
- defined, 1093
- Blt method, 1095-1096, 1111
- bMask parameter (CImageList control), 110
- bmBits data member (BITMAP structure), 199
- bmBitsPixel data member (BITMAP structure), 199
- bmHeight data member (BITMAP structure), 199
- bmPlanes data member (BITMAP structure), 199
- bmType data member (BITMAP structure), 199
- bmWidth data member (BITMAP structure), 199
- bmWidthBytes data member (BITMAP structure), 199
- <body> tag (HTML), 832
- BOF property (ADORecordset class), 719
- Borderstyle property, 531
- BottomRight method, 174
- browsers. See Internet Explorer
- brushes, 162
- BSTRs, 405
- allocating/deallocating, 595-596
- _bstr_t class, 597
- CComBSTR templates, 595-597
- defined, 594
- buddy windows, 88
- buffers, 1143
- BuildSharedMenu method, 461-462
- button control, 60
- buttons
- button control, 60
- radio button control, 61
- wizard buttons, 1203-1204
- C
- C++ exceptions, 792
- CException class, 795-797
- example, 793-794
- syntax, 793
- throwing, 794-795
- CAboutDlg class, 56
- CAccessor class, 695
- CAccessorBase class, 695
- CAccessorRowset class, 706
- CacheSize property (ADORecordset class), 720
- CADORecordingBinding class, 708
- CalcNumPages method, 363
- CalculatePoints method, 753
- calendars, 65
- call security, 404
- calls (TAPI)
- call handles, 993
- dropping, 991, 1018
- phone dialer application, 999-1001
- placing, 991, 1012-1016
- states, 991-992
- CancelBlockingCall method, 868
- CancelToClose method, 1201
- CancelToolTips method, 71
- CancelUpdate method, 677
- CanCloseFrame method, 47
- CAnimateCtrl class, 131-132
- implementing, 135
- initializing, 134
- methods, 134
- notification messages, 133
- window styles, 133
- CanInPlaceActivate method, 567
- canonical addresses, 990
- CanPaste method, 144
- CanTransact method, 667
- CanUndo method, 143
- Caption property, 531
- CArchiveException class, 799-800
- CArrayRowset class, 705
- CAsynchMonikerFile class, 442
- CAsyncSocket class, 855, 874-876
- CBitmap class, 163, 199-201
- CBookRecordset class
- class definition, 671
- constructor, 672
- methods, 672-673
- CBooks class, 691-692
- CBooksAccessor class, 690
- CBRS_FLYBY style (toolbars), 323
- CBRS_SIZE_DYNAMIC style (toolbars), 324
- CBrush class, 161-162
- CBulkRowset class, 705
- CByteArray class
- definition, 742-744
- memory allocation, 744-746
- CCachedDataPathProperty class, 442
- CClientDC class, 155-156
- CClockCtrl (clock control), 217
- class definition, 218
- face-painting routine, 220-221
- hand-painting routine, 221-224
- NOT XOR raster operation, 223
- vertices, 221
- metrics
- ComputeFacePoint method, 219-220
- RecalcLayout method, 219
- time display, 224
- CCmdTarget class, 435
- automation support
- EnableAutomation method, 23-24
- FromIDispatch method, 24
- GetIDispatch method, 24
- IsResultExpected method, 24
- OnFinalRelease method, 24
- message routing, 19
- message maps, 20-22
- OnCmdMsg, 22
- mouse pointer state, changing, 22
- CCmdUI class, 325
- CColorDialog class, 75
- CComBSTR class, 594-597
- CCommand class, 706-707
- CComPtr class, 592
- CComQIPtr class, 592-593
- CComVariant class, 603-604
- CConnectionPoint class, 436
- CControlBar class, 315. See also control bars
- CControlProxyView class, 580
- CCS_BOTTOM style (list view control), 113
- CCS_NODIVIDER style (list view control), 113
- CCS_NOHILITE style (list view control), 113
- CCS_NOMOVEY style (list view control), 113
- CCS_NOPARENTALIGN style (list view control), 113
- CCS_NORESIZE style (list view control), 113
- CCS_TOP style (list view control), 113
- CDaoDatabase class, 679-680
- CDaoException class, 806-807
- CDaoQueryDef class, 682-684
- CDaoRecordset class, 680
- CDaoRecordView class, 287
- CDaoTableDef class, 681-682
- CDaoWorkspace class, 678-679
- CDatabase class, 666-668
- CDataPathProperty class, 442
- CDataSource class, 692-693
- CDbException class, 803-805
- CDC class, 151-153, 170-171, 179-184
- CDialog class, 261
- CDialogBar class, 316
- CDocItem class, 444-446, 456
- CDocManager class, 281-282
- CDocObjectServer class, 434
- CDocObjectServerItem class, 435
- active document servers, 458-459
- methods, 458
- CDocument class, 975-976
- message routing, 261
- methods
- AddView, 45-46
- CanCloseFrame, 47
- DeleteContents, 46
- GetDocTemplate, 45
- GetFile, 47
- GetFirstViewPosition, 46
- GetNextView, 46
- GetPathName, 45
- GetTitle, 45
- IsModified, 45
- OnCloseDocument, 47
- OnFileSendMail, 976-981
- OnNewDocument, 47
- OnOpenDocument, 47
- OnSaveDocument, 47
- OnUpdateFileSendMail, 976
- PreCloseFrame, 47
- ReleaseFile, 47
- RemoveView, 45
- ReportSaveLoadException, 47
- SaveModified, 45
- SetModifiedFlag, 45
- SetPathName, 45
- SetTitle, 45
- CDynamicAccessor class, 696-699
- CDynLinkLibrary class, 1182
- CEditView class, 288
- CenterPoint method, 174
- CenterWindow method, 39
- CException class, 795-798
- CFile class, 758-759
- CFileStatus structure, 761
- declaration, 761-764
- file modes, 759-760
- methods, 760
- Windows API function map, 764-765
- CFileDialog class, 74
- modal implementation, 770-771
- OPENFILENAME structure, 771-772
- user-defined, 772-773
- CFileException class
- data members
- m_cause, 800-801
- m_IosError, 801
- m_strFileName, 800
- methods
- constructor, 801
- ErrnoToException, 802
- OSErrorToException, 802
- ThrowErrno, 802
- ThrowOsError, 802
- CFileFind class
- file attributes, 919-920
- file operations, 918-919
- CFileStatus structure, 761
- CFont class, 162-163, 190-192
- CFontDialog class, 75
- CFontHolder class, 442
- CFormView class, 287
- CFrameWnd class
- message routing, 261
- methods
- BeginModalState, 43
- EndModalState, 43
- GetActiveDocument, 42
- GetActiveFrame, 42
- GetActiveView, 42
- GetTitle, 42
- InModalState, 43
- SetActiveView, 42
- SetMessageText, 42
- SetTitle, 42
- CFtpConnection class, 916-917
- CFtpFileFind class, 920-921
- CGdiObject class, 158-159
- CGLView class, 1043. See also views
- CGopherConnection class, 922
- CGopherFile class, 924
- CGopherFindFile class, 924
- CGopherLocator class, 922-923
- changing
- mouse pointer state, 22
- views, 291-295
- document updates, 295
- frame classes, 292-293
- resource definitions, 295
- SwitchViews method, 293-295
- CHARFORMAT structure, 138-139
- check box control, 60
- CHotKeyCtrl class
- creating, 86
- default values, 86-87
- global hot keys, 87
- methods, 85-86
- thread-specific hot keys, 87
- CHtmlView class, 824-825
- COM (component object model), relationship with, 827
- document/view relationship, 825-827
- methods
- GetHtmlDocument, 824
- OnFileOpen, 826
- CHttpConnection class
- AfxParseURL protocol types, 911-913
- command parameter values, 910-911
- OpenRequest options, 911
- CHttpFile class, 913-914
- CHttpServer object, 955
- CHyperlink control, 225-227
- cursor, controlling, 231-232
- font processing, 228-229
- implementation strategy, 227-228
- keyboard input, 234-236
- links, launching, 236-237
- mouse input, 232-234
- painting routines
- DrawFocusRect method, 229-230
- DrawText method, 229
- CImageList class, 107-108
- initializing, 109-110
- methods, 108-109
- CInternetConnection class, 901-902
- CInternetException class, 807-808, 901
- CInternetFile class, 899-901
- CInternetSession class
- instantiating, 890-891
- methods
- EnableStatusCallback, 897
- GetContext, 899
- GetCookie, 896-897
- GetFtpConnection, 895
- GetGopherConnection, 895
- GetHttpConnection, 893-894
- OpenURL, 892-893
- ServiceTypeFromHandle, 899
- SetCookie, 895
- CIntroPage class, 1210
- CInvestmentWiz class, 339-340
- CInvestWizData class, 333
- CInvestWizPage1 class, 334-335
- CInvestWizPage2 class, 336-337
- CInvestWizPage3 class, 337-338
- class view, 55-56
- classes, 214
- ADOCommand class
- collections, 724
- methods, 722-723
- properties, 721-724
- ADOConnection class
- collections, 717
- methods, 714-716
- properties, 715-717
- ADOError class, 726-727
- ADOField class, 724-725
- ADOParameter class, 726
- ADOProperty class, 725
- ADORecordset class
- collections, 721
- method, 718-720
- properties, 719-721
- ATL consumer classes, 687
- CAboutDlg, 56
- CAccessor, 695
- CAccessorBase, 695
- CAccessorRowset, 706
- CADORecordBinding, 708
- CAnimateCtrl, 131-132
- implementing, 135
- initializing, 134
- methods, 134
- notification messages, 133
- window styles, 133
- CArchiveException, 799-800
- CArrayRowset, 705
- CAsynchMonikerFile, 442
- CAsynchSocket, 855, 874-876
- CBitmap, 163, 199-201
- CBookRecordset
- class definition, 671
- constructor, 672
- methods, 672-673
- CBooks, 691-692
- CBooksAccessor, 690
- CBrush, 161-162
- CBulkRowset, 705
- CByteArray
- definition, 742-744
- memory allocation, 744-746
- CCachedDataPathProperty, 442
- CClientDC, 155-156
- CCmdTarget, 435
- automation support, 23-24
- message routing, 19-22
- mouse pointer state, changing, 22
- CCmdUI, 325
- CColorDialog, 75
- CComBSTR, 594-597
- CCommand, 706-707
- CComPtr, 592
- CComVariant, 603-604
- CConnectionPoint, 436
- CControlBar, 315
- CControlProxyView, 580
- CDaoDatabase, 679-680
- CDaoException, 806-807
- CDaoQueryDef, 682-684
- CDaoRecordset, 680
- CDaoRecordView, 287
- CDaoTableDef, 681-682
- CDaoWorkspace, 678-679
- CDatabase, 666-668
- CDataPathProperty, 442
- CDataSource, 692-693
- CDbException, 803-805
- CDC, 151-153, 170-171, 180-182
- CDialog, 261
- CDialogBar, 316
- CDocItem, 444-446, 456
- CDocManager, 281-282
- CDocObjectServer, 434
- CDocObjectServerItem, 435
- active document servers, 458-459
- methods, 458
- CDocument, 975-976
- message routing, 261
- methods, 976-981
- CDynamicAccessor, 696-699
- CDynLinkLibrary, 1182
- CEditView, 288
- CException, 795-798
- CFile, 758-759
- CFileStatus structure, 761
- declaration, 761-764
- file modes, 759-760
- methods, 760
- Windows API function map, 764-765
- CFileDialog, 74, 770
- modal implementation, 770-771
- OPENFILENAME structure, 771-772
- user-defined, 772-773
- CFileException
- data members, 800-801
- methods, 801-802
- CFileFind
- file attributes, 919-920
- file operations, 918-919
- CFont, 162-163, 192
- CFontDialog, 75
- CFontHolder, 442
- CFormView, 287
- CFrameWnd
- message routing, 261
- methods, 42-43
- CFtpConnection, 916-917
- CFtpFileFind, 920-921
- CGdiObject, 158-159
- CGLView, 1043
- CGopherConnection, 922
- CGopherFile, 924
- CGopherFindFile, 924
- CGopherLocator, 922-923
- CHotKeyCtrl
- creating, 86
- default values, 86-87
- global hot keys, 87
- methods, 85-86
- thread-specific hot keys, 87
- CHtmlView, 824-825
- COM (component object model), relationship with, 827
- document/view relationship, 825-827
- methods, 824-826
- CHttpConnection
- AfxParseURL protocol types, 911-913
- command parameter values, 910-911
- OpenRequest options, 911
- CHttpFile, 913-914
- CImageList, 107-108
- initializing, 109-110
- methods, 108-109
- CInternetConnection, 901-902
- CInternetException, 807-808, 901
- CInternetFile, 899-901
- CInternetSession
- instantiating, 890-891
- methods, 892-895
- CIntroPage, 1210
- CInvestmentWiz, 339-340
- CInvestWizData, 333
- CInvestWizPage1, 334-335
- CInvestWizPage2, 336-337
- CInvestWizPage3, 337-338
- CListCtrl
- adding items to, 119
- image lists, 113-114
- implementing, 117-118
- initializing, 116-117
- items/subitems, 114-115
- notification messages, 116
- supported views, 110-111
- window styles, 112-113
- CListView, 288
- CManualAccessor, 700-701
- CMediaPlayer, 1121-1122
- CMemFile class, 768-769
- CMemoryException, 799
- CMenu, 310-314
- CMonikerFile, 442
- CMultiDocTemplate, 255-256
- CMyInternetSession, 903-904
- CNotSupportedException, 799
- CObject, 14
- diagnostic support, 14-15
- RTTI (Runtime Type Information), 15-16
- serialization, 17-19
- COleBusyDialog, 437
- COleChangeIconDialog, 437
- COleChangeSourceDialog, 437
- COleClientItem, 440, 456
- COleCmdUI, 442
- COleControl, 442, 543
- COleControlModule, 443
- COleConvertDialog, 437
- COleCurrency, 447
- COleDataObject, 444
- COleDataSource, 444
- COleDateTime, 447
- COleDateTimeSpan, 448
- COleDBRecordView, 448
- COleDialog, 438
- COleDispatchDriver, 436, 492-493, 496-498
- COleDispatchException, 436, 805-806
- COleDocIPFrameWnd
- active document servers, 459-462
- class declaration, 459-460
- methods, 460-462
- COleDocItem, 440
- COleDocObjectItem, 435
- COleDocument, 441
- COleDropSource, 444
- COleDropTarget, 444
- COleException, 447, 803
- COleInsertDialog, 438